WeDevs\Wpuf\Admin\Subscription D

Total Complexity 254
Dependencies 2
Dependents 10
Total lines 1,380
Lines of code 869
Logical lines of code 487
Comment lines 299
Methods 44
Properties 0

Methods 44

Method Rating Maintainability Complexity Lines of code
force_pack_permission()
C
39 27 62
save_form_meta()
C
38 27 55
pack_details()
B
37 22 66
subscription_packs()
A
37 14 72
monitor_new_post()
A
44 15 37
add_post_info()
A
45 14 39
cancel_non_recurring_subscription()
A
43 10 49
set_pending()
A
54 12 18
subs_redirect_pram()
A
48 11 29
post_redirect()
A
47 10 35
after_registration()
A
49 10 28
user_subscription_cancel()
A
52 10 21
monitor_new_draft_post()
A
53 8 20
subscription_pack_users()
S
55 6 18
payment_received()
S
56 6 17
register_form()
S
59 5 14
insert_free_pack_subscribers()
S
55 4 19
get_subscription_meta()
S
51 3 24
get_subscriptions()
S
58 3 15
register_post_type()
S
46 1 42
subscriber_cancel()
S
57 2 17
packdropdown()
S
66 3 8
force_pack_notice()
S
63 3 9
handle_post_publish()
S
65 3 9
set_post_status()
S
61 2 13
__construct()
S
51 1 24
get_all_post_type()
S
58 1 17
handle_non_recur_subs()
S
73 2 5
reset_trial()
S
65 2 9
get_subscription()
S
67 2 8
change_default_title()
S
68 2 7
add_free_pack()
S
79 1 3
subscription_script()
S
70 1 7
get_payment_status()
S
79 1 3
reset_user_subscription_data()
S
78 1 3
subscription_info()
S
67 1 8
has_used_free_pack()
S
79 1 3
new_subscription()
S
77 1 3
get_user_pack()
S
78 1 3
update_user_subscription_meta()
S
79 1 3
post_by_orderid()
S
65 1 9
get_cycle_label()
S
63 1 9
get_details_meta_value()
S
69 1 6
has_user_error()
S
80 1 3